package jicheng;

public class Test2 {
	String name = "xiao";
	int age = 12;
	public void getname() {
		System.out.println(this.name);
	}
	public void getname(String a){
		System.out.println(a);
	}
	public String getname(String a,int b) {
		return a + b;
	}
	public static void main(String[] args) {
		Test2  t = new Test2();
		t.getname();
		t.getname("222");
		System.out.println(t.getname("111", 34));
	}
}
